package com.springboot.tr.controller;

import com.alibaba.fastjson.JSONObject;
import com.springboot.tr.entity.OrgLicenseConfig;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @description: license管理
 * @author: ZZZ
 * @time: 2021/8/18 17:01
 */
@RestController
@RequestMapping("/license/manage")
public class LicenseManagerController {
    public static void main(String[] args) {
        List<OrgLicenseConfig> list=new ArrayList<>();

        OrgLicenseConfig  config=new OrgLicenseConfig();
        config.setBizMode("65465");
        list.add(config);
        String ss = JSONObject.toJSONString(list);
        System.out.println(ss);

    }

    //接口调用量查询
    @RequestMapping("/interface-call-usage/query")
    public Object interfaceCallUsageQuery() {
        return "";
    }

    //接口日志查询
    @RequestMapping("/interface-log/query")
    public Object interfaceLogQuery() {

        return "";
    }

    //机构license新增
    @RequestMapping("/org-license/adds")
    public Object orgLicenseAdds() {

        return "";
    }

    //机构license查询
    @RequestMapping("/org-license/query")
    public Object orgLicenseQuery() {

        return "";
    }
    //机构license详情查询
    @RequestMapping("/org-license/detail/query")
    public Object orgLicenseDetailQuery() {

        return "";
    }


    //机构license更新
    @RequestMapping("/org-license/update")
    public Object orgLicenseUpdate() {

        return "";
    }

    //机构license同步
    @RequestMapping("/org-license/async")
    public Object orgLicenseAsync() {

        return "";
    }


}
